package com.yunji.base.dto;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;

@Data
public class SiteLocationDTO {

    @ApiModelProperty("点位ID")
    private Long locationId;

    @ApiModelProperty(value = "点位名称",required = true)
    @NotNull(message = "点位名称不能为空")
    private String locationName;

    @ApiModelProperty(value = "点位类型ID",required = true)
    @NotNull(message = "点位类型不能为空")
    private Long locationTypeId;

    @ApiModelProperty(value = "省份名称",required = true)
    @NotNull(message = "省份名称不能为空")
    private String provinceName;

    @ApiModelProperty(value = "城市名称",required = true)
    @NotNull(message = "城市名称不能为空")
    private String cityName;

    @ApiModelProperty(value = "区县名称",required = true)
    @NotNull(message = "区县名称不能为空")
    private String countyName;

    @ApiModelProperty(value = "省份代码",required = true)
    @NotNull(message = "省份代码不能为空")
    private String provinceCode;

    @ApiModelProperty(value = "城市代码",required = true)
    @NotNull(message = "城市代码不能为空")
    private String cityCode;

    @ApiModelProperty(value = "区县代码",required = true)
    @NotNull(message = "区县代码不能为空")
    private String countyCode;

    @ApiModelProperty(value = "详细地址",required = true)
    @NotNull(message = "详细地址不能为空")
    private String address;

    @ApiModelProperty(value = "网点ID",required = true)
//    @NotNull(message = "网点不能为空")
    private Long siteId;

    private Long agentId;

    private Long belongId;

}
